#include "Lock.h"

Lock::Lock(Mutex& m): mutex(m)
{
	mutex.lock();
}

Lock::~Lock()
{
	mutex.unlock();
}

